package com.atguigu.jxc.entity;

import lombok.Data;
/**
 * 商品信息实体
 */
@Data
public class Goods {

   Integer goodsId;
   String goodsCode;
   String goodsName;
   Integer inventoryQuantity;
   double lastPurchasingPrice;
   Integer minNum;
   String goodsModel;
   String goodsProducer;
   double purchasingPrice;
   String remarks;
   double sellingPrice;
   Integer state;// 0 初始化状态 1 期初库存入仓库  2  有进货或者销售单据
   String goodsUnit;
   Integer goodsTypeId;

  private String goodsTypeName;

  private Integer saleTotal;// 销售总量
  public Integer getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(Integer goodsId) {
    this.goodsId = goodsId;
  }

  public String getGoodsCode() {
    return goodsCode;
  }

  public void setGoodsCode(String goodsCode) {
    this.goodsCode = goodsCode;
  }

  public String getGoodsName() {
    return goodsName;
  }

  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }

  public Integer getInventoryQuantity() {
    return inventoryQuantity;
  }

  public void setInventoryQuantity(Integer inventoryQuantity) {
    this.inventoryQuantity = inventoryQuantity;
  }

  public double getLastPurchasingPrice() {
    return lastPurchasingPrice;
  }

  public void setLastPurchasingPrice(double lastPurchasingPrice) {
    this.lastPurchasingPrice = lastPurchasingPrice;
  }

  public Integer getMinNum() {
    return minNum;
  }

  public void setMinNum(Integer minNum) {
    this.minNum = minNum;
  }

  public String getGoodsModel() {
    return goodsModel;
  }

  public void setGoodsModel(String goodsModel) {
    this.goodsModel = goodsModel;
  }

  public String getGoodsProducer() {
    return goodsProducer;
  }

  public void setGoodsProducer(String goodsProducer) {
    this.goodsProducer = goodsProducer;
  }

  public double getPurchasingPrice() {
    return purchasingPrice;
  }

  public void setPurchasingPrice(double purchasingPrice) {
    this.purchasingPrice = purchasingPrice;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public double getSellingPrice() {
    return sellingPrice;
  }

  public void setSellingPrice(double sellingPrice) {
    this.sellingPrice = sellingPrice;
  }

  public Integer getState() {
    return state;
  }

  public void setState(Integer state) {
    this.state = state;
  }

  public String getGoodsUnit() {
    return goodsUnit;
  }

  public void setGoodsUnit(String goodsUnit) {
    this.goodsUnit = goodsUnit;
  }

  public Integer getGoodsTypeId() {
    return goodsTypeId;
  }

  public void setGoodsTypeId(Integer goodsTypeId) {
    this.goodsTypeId = goodsTypeId;
  }

  public String getGoodsTypeName() {
    return goodsTypeName;
  }

  public void setGoodsTypeName(String goodsTypeName) {
    this.goodsTypeName = goodsTypeName;
  }

  public Integer getSaleTotal() {
    return saleTotal;
  }

  public void setSaleTotal(Integer saleTotal) {
    this.saleTotal = saleTotal;
  }
}
